From 605a457cacef2df88f6ac20c2533f54071ed4f7c Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Mon, 1 Dec 2025 21:26:23 -0700 Subject: [PATCH] bind: save out served domains on service stop If named gets stopped, then started again, but isc-dhcpd isn't also restarted, then we want named to at least have the existing content. Signed-off-by: Philip Prindeville --- net/bind/Makefile | 2 +- net/bind/files/named.init | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/net/bind/Makefile b/net/bind/Makefile index 2eb7c30738..cfea57f22e 100644 --- a/net/bind/Makefile +++ b/net/bind/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bind PKG_VERSION:=9.20.15 -PKG_RELEASE:=1 +PKG_RELEASE:=2 USERID:=bind=57:bind=57 PKG_MAINTAINER:=Noah Meyerhans diff --git a/net/bind/files/named.init b/net/bind/files/named.init index 08a142e3ca..e626149c43 100644 --- a/net/bind/files/named.init +++ b/net/bind/files/named.init @@ -20,6 +20,10 @@ reload_service() { rndc -q reload } +stop_service() { + rndc stop +} + start_service() { user_exists bind 57 || user_add bind 57 group_exists bind 57 || group_add bind 57 -- 2.30.2